@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?tomleg');
  src:  url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?tomleg') format('truetype'),
    url('../fonts/icomoon.woff?tomleg') format('woff'),
    url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* 页面宽度 */
.w{
  width: 1200px;
  margin: 0 auto;
}
/* 顶部快捷区域 */
.shortcut{
  height: 31px;
  line-height: 31px;
  background-color: #f1f1f1;
}
.shortcuts_wrapper{
  display: flex;
  justify-content: space-between;
}
/* 快捷左 */
.shortcuts_left ul{
  display: flex;
}
.shortcuts_left .style_red{
  color: red;
}
/* 快捷右 */
.shortcuts_right ul{
  display: flex;
}
.shortcuts_right ul li:nth-child(even){
  width: 1px;
  height: 12px;
  background-color: #666;
  margin: 9px 15px 0;
}
.arrow-icon::after {
  content: '\e91e';
  font-family: 'icomoon';
  margin-left: 6px;
}
/* 头部logo搜索区域 */
.head_wrapper{
  position: relative;

  height: 105px;
}
/* logo */
.head_wrapper .logo{
  position: absolute;
  top: 25px;
  width: 171px;
  height: 61px; 
}
.head_wrapper .logo a{
  display: block;
  width: 184px;
  height: 62px;
  background: url(../images/logo.png) no-repeat;
  /* font-size: 0;京东的做法*/
  /* 参照淘宝反向缩进 */
  text-indent: -9999px;
  overflow: hidden;
}
/* 搜索 */
.search{
  position: absolute;
  left: 346px;
  top: 25px;
  width: 538px;
  height: 36px;
  border: 2px solid #b1191a;
}
.search_input{
  float: left;
  height: 32px;
  width: 454px;
  padding-left: 10px;
}
.search_btn{
  float: left;
  width: 80px;
  height: 32px;
  background-color: #b1191a;
  font-size: 16px;
  color: white;
}
/* 搜索热词 */
.hotsearch{
  position: absolute;
  top: 66px;
  left: 346px;
}
.hotsearch a {
  margin: 0 11px;
}
.hotsearch a:first-child{
  color: #b1191a;
}
/* 购物车 */
.shopcar{
  position: absolute;
  right: 60px;
  top: 25px;
  width: 140px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border: 1px solid #dfdfdf;
  background-color: #f7f7f7;
}
.shopcar::before {
  content: '\e93a';
  font-family: 'icomoon';
  margin-right: 5px;
  color: #b1191a;
}
.shopcar::after {
  content: '\e920';
  font-family: 'icomoon';
  margin-left: 10px;
}
.shopcar_count{
  position: absolute;
  top: -5px;
  left: 105px;
  height: 14px;
  line-height: 14px;
  color: #fff;
  background-color: #e60012;
  padding: 0 5px;
  border-radius: 7px 7px 7px 0;
}
/* nav导航模块 */
.nav{
  height: 47px;
  border-bottom: 2px solid #b1191a;
}
/* 商品分类模块 */
.classify{
  float: left;
  width: 210px;
  height: 45px;
  background-color: #b1191a;
}
.classify .classify_title{
  width: 210px;
  height: 45px;
  color: #fff;
  text-align: center;
  line-height: 45px;
  font-size: 16px;
}
.classify .classify_detail{
  background-color: #b1191a;
}
.classify .classify_detail ul li{
  position: relative;
  height: 31px;
  line-height: 31px;
  margin-left: 2px;
  padding-left: 10px;
}
.classify .classify_detail ul li a{
  font-size: 14px;
  color: #fff;
}
.classify .classify_detail ul li:hover{
  background-color: #fff;
}
.classify .classify_detail ul li:hover a{
  color: #b1191a;
}
.classify .classify_detail ul li::after{
  position: absolute;
  top: 1px;
  right: 10px;
  color: #fff;
  font-family: 'icomoon';
  content: '\e920';
  font-size: 14px;
}
/* 导航栏选项 */
.nav_item{
  float: left;
}
.nav_item ul{
  display: flex;
}

.nav_item ul li a{
  display: block;
  height: 45px;
  line-height: 45px;
  font-size: 16px;
  padding: 0 25px;
}

/* 底部模块制作 */
.footer {
  height: 415px;
  background-color: #f5f5f5;
  padding-top: 30px;
}
.mod_service {
  height: 80px;
  border-bottom: 1px solid #ccc;
}
.mod_service ul li {
  float: left;
  width: 300px;
  height: 50px;
  padding-left: 35px;
}
.mod_service ul li h5 {
  float: left;
  width: 50px;
  height: 50px;
  background: url(../images/sprites.png) no-repeat -252px -2px;
  margin-right: 8px;
}
.service_txt h4 {
  font-size: 14px;
}
.service_txt  p {
  font-size: 12px;
}
.mod_help {
  height: 185px;
  border-bottom: 1px solid #ccc;
  padding-top: 20px;
  padding-left: 50px;
}
.mod_help dl {
  float: left;
  width: 200px;
}
.mod_help dl:last-child {
  width: 90px;
  text-align: center;
}
.mod_help dl dt {
  font-size: 16px; 
  margin-bottom: 10px;
}
.mod_copyright {
  text-align: center;
  padding-top: 20px;
}
.links {
  margin-bottom: 15px;
}
.links a {
  margin: 0 3px;
}
.copyright {
  line-height: 20px;
}
